<div class="model story <%= mark_if_closed(story) %>" style="border-top: 3px solid <%= build_inline_style_color(story) %>">
  <div class="id">
      <%= link_to story.id, {:controller => 'issues', :action => 'show', :id => story.id}, { :target => "_blank" } %>
      <div style="display:none;" class="v"><%= story.id %></div>
  </div>
  <div class="subject editable" fieldtype="textarea" fieldname="subject"><%= story.subject %></div>
  <div class="assigned_to_id editable" fieldtype="select" fieldname="assigned_to_id">
    <div class="t"><%= assignee_name_or_empty(story) %></div>
    <div class="v"><%= assignee_id_or_empty(story) %></div>
  </div>
  <div class="status_id editable" fieldtype="select" fieldname="status_id">
    <div class="t"><%= status_label_or_default(story) %></div>
    <div class="v"><%= status_id_or_default(story) %></div>
  </div>
  <div class="story_points editable" fieldname="story_points"><%= story_points_or_empty(story) %></div>
  <div class="indicator"> </div>
  <div class="meta">
    <%= render :partial => "shared/model_errors", :object => story.errors %>
  </div>
</div>
